package com.visionvera.myapplication.net;

import com.visionvera.retrofitservice.net.BaseEntity;

import io.reactivex.functions.Function;

public class ResponseFunc<T> implements Function<BaseEntity<T>, T> {
    @Override
    public T apply(BaseEntity<T> tBaseEntity) throws Exception {

        return tBaseEntity.getData();
    }
}
